package cn.webNews.bean;

import java.sql.Timestamp;


public class Detail implements java.io.Serializable{
	
	private Long id;
	private Long categoryId;
	private String title;
	private String summary;
	private String content;
	private String picPath;
	private String author;
	private Timestamp createDate;
	private Timestamp modifyDate;
	
	
	
	
	
	public Detail() {
		super();
	}
	public Detail(Long id, Long categoryId, String title, String summary,
			String content, String picPath, String author,
			Timestamp createDate, Timestamp modifyDate) {
		super();
		this.id = id;
		this.categoryId = categoryId;
		this.title = title;
		this.summary = summary;
		this.content = content;
		this.picPath = picPath;
		this.author = author;
		this.createDate = createDate;
		this.modifyDate = modifyDate;
	}
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public Long getCategoryId() {
		return categoryId;
	}
	public void setCategoryId(Long categoryId) {
		this.categoryId = categoryId;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getSummary() {
		return summary;
	}
	public void setSummary(String summary) {
		this.summary = summary;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getPicPath() {
		return picPath;
	}
	public void setPicPath(String picPath) {
		this.picPath = picPath;
	}
	public String getAuthor() {
		return author;
	}
	public void setAuthor(String author) {
		this.author = author;
	}
	public Timestamp getCreateDate() {
		return createDate;
	}
	public void setCreateDate(Timestamp createDate) {
		this.createDate = createDate;
	}
	public Timestamp getModifyDate() {
		return modifyDate;
	}
	public void setModifyDate(Timestamp modifyDate) {
		this.modifyDate = modifyDate;
	}
	@Override
	public String toString() {
		return "Detail [id=" + id + ", categoryId=" + categoryId + ", title="
				+ title + ", summary=" + summary + ", content=" + content
				+ ", picPath=" + picPath + ", author=" + author
				+ ", createDate=" + createDate + ", modifyDate=" + modifyDate
				+ "]";
	}
	
	
	
	
}
